<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="../css/mui.min.css">
		<script src="../js/mui.min.js"></script>
		<script src="../js/app.js"></script>
		<style>
			html,body {
				background-color: #efeff4;
			}
		</style>
		<script>
			mui.init();
		</script>
	</head>

	<body>

<div class="mui-content">
	<div id="popover" class="mui-popover">
		<ul class="mui-table-view">
			<li class="mui-table-view-cell">
				<a href="#">
					Item1
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item2
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item3
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item4
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item5
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item6
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item7
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item8
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item9
				</a>
			</li>
			<li class="mui-table-view-cell">
				<a href="#">
					Item10
				</a>
			</li>
		</ul>
	</div>
</div>
<script>
	mui.init({
			back: function() {
				var webview = plus.webview.currentWebview();
				var parent = webview.parent();
				if (parent) {
					parent.hide('auto');
					return false;
				}
			}
		})
		(function($) {
			document.addEventListener('plus:togglePopover', function() {
				$('#popover').popover('toggle');
			});
		})(mui);
</script>
</body>
</html>